package com.diankangwo.factory.service;

import com.diankangwo.factory.entity.TdAccount;

import java.util.List;
import java.util.Map;

public interface TdAccountService {

    int deleteByPrimaryKey(Integer id);

    int insert(TdAccount record);

    int insertSelective(TdAccount record);

    TdAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdAccount record);

    int updateByPrimaryKey(TdAccount record);

    /**
     * 根据条件查询厂家列表
     * @param map
     * @return
     */
    List<TdAccount> queryList(Map<String,Object> map);

    /**
     * 根据条件查询厂家总数
     * @param map
     * @return
     */
    int queryTotal(Map<String,Object> map);



}
